import { defineStore } from 'pinia'
import { reactive, ref } from 'vue'

export const useStore = defineStore(
  'main',
  () => {

    const userinfo=reactive({
        userId:"",
        userName:"",
        userPwd:"",
        userRole:"",
        usertoken:""
    })

    return {userinfo }
  },
  {
    persist: true,
  },
)